package com.jiangjiang.eshop.wms.convert;

import com.jiangjiang.eshop.wms.domain.SaleDeliveryOrderSendOutDetail;
import com.jiangjiang.eshop.wms.dto.SaleDeliveryOrderSendOutDetailDTO;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * @Author Jianghaowen
 * @Date 2021/9/17
 * @Description: TODO
 * @Version V1.0
 **/
@Mapper(componentModel = "spring")
public interface SaleDeliveryOrderSendOutDetailConvert {
    List<SaleDeliveryOrderSendOutDetail> convertDTOList2Entities(List<SaleDeliveryOrderSendOutDetailDTO> sendOutItems);

    List<SaleDeliveryOrderSendOutDetailDTO> convertEntities2DTOList(List<SaleDeliveryOrderSendOutDetail> list);
}
